OCLOperators attributes
This page was created by Alexandra on 2017-08-13. Last edited by Edgar on 2025-01-20.


Returns a list of names of all attributes owned by the class. This is meta information about what attributes the class has.

Return Type

Collection(String)

Example
2024-09-21 05h28 35.png
OCL Operation Result
Product.attributes ['Price', 'DateAdded', 'Description', 'Name']